package com.jtech.together.mvp.contract;

import com.jtech.together.model.UserModel;
import com.jtech.together.mvp.base.BaseContract;

/**
 * 用户信息页面
 * Created by wuxubaiyang on 2017/5/11.
 */
public interface UserProfileContract {
    interface Presenter extends BaseContract.Presenter {
        void loadUserProfile();

        void loadIsFriend();

        void addFriend(String message);

        boolean isMine();

        String getObjectId();

        boolean isFriend();
    }

    interface View extends BaseContract.View {
        void loadSuccess(UserModel userModel);

        void loadFail(String error);

        void isFriend(boolean isFriend);

        void isFriendFail(String error);

        void sendInviteSuccess();

        void sendInviteFail(String error);
    }
}